package com.letoken.platform.repo.ecommerce.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 订单评价表
 * </p>
 *
 * @author author
 * @since 2023-11-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("ecommerce_user_evaluate")
@ApiModel(value="EcommerceUserEvaluate对象", description="订单评价表")
public class EcommerceUserEvaluate implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "表ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "店铺ID")
    private Integer mallId;

    @ApiModelProperty(value = "用户ID")
    private Integer userId;

    @ApiModelProperty(value = "订单ID")
    private Integer orderId;

    @ApiModelProperty(value = "评分")
    private Float score;

    @ApiModelProperty(value = "0=非匿名 1=匿名")
    private Integer anonymous;

    @ApiModelProperty(value = "评价内容")
    private String content;

    @ApiModelProperty(value = "0评价 1失效（修改评价）2删除")
    private Integer state;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

    @ApiModelProperty(value = "回复状态 0待回复 1已回复")
    private Integer replyState;

    private String pics;

    private Integer productId;

    private Integer mediaNum;

    private String coverUrl;

    private String videoUrl;

}
